package com.moguhoutai.dao;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.moguhoutai.model.Subway;
@MapperScan
public interface SubwayMapper {
    int deleteByPrimaryKey(Integer subwayId);

    int insert(Subway subway);

    int insertSelective(Subway subway);

    Subway selectByPrimaryKey(Integer subwayId);

    int updateByPrimaryKeySelective(Subway subway);

    int updateByPrimaryKey(Subway subway);
    
    List<Subway> findSuBycity(Integer cityId);
}